package com.hbnu.service.impl;

import com.hbnu.dao.AdminLoginMapper;
import com.hbnu.pojo.Admin;
import com.hbnu.service.AdminLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("AdminLoginService")
public class AdminLoginServiceImpl implements AdminLoginService {
//    @Resource(name = "adminMapper")
    @Autowired
    private AdminLoginMapper adminLoginMapper;

    @Override
    public Admin login(Admin admin){
        return adminLoginMapper.login(admin);
    }
}
